set HUGGINGFACE_MODEL=fish-speech-1.5
set HF_ENDPOINT=https://hf-mirror.com
set CP_BASE=C:\Users\ASL\.fish-speech\checkpoints

call conda activate fish-speech



rem python tools/api.py --device cpu   --llama-checkpoint-path %CP_BASE%  --decoder-checkpoint-path %CP_BASE%\firefly-gan-vq-fsq-8x1024-21hz-generator.pth --listen 0.0.0.0:7960  


python tools/api_server.py --device cpu   --llama-checkpoint-path %CP_BASE%\%HUGGINGFACE_MODEL%  --decoder-checkpoint-path %CP_BASE%\%HUGGINGFACE_MODEL%\firefly-gan-vq-fsq-8x1024-21hz-generator.pth --listen 0.0.0.0:7960  --api-key 1212